package org.osoftware.mumi.dao.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * The Class Title.
 */
@Entity
@Table(name="title")
public class Title extends BaseObject{

	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 397786741862487916L;
	
	/** The name. */
	@Column(name="name")
	private String name;
	
	/**
	 * Gets the name.
	 *
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * Sets the name.
	 *
	 * @param name the new name
	 */
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Title [name=" + name + ", toString()=" + super.toString() + "]";
	}
	
	
}
